from channels.routing import ProtocolTypeRouter, URLRouter
import wslog.routing

application = ProtocolTypeRouter({
    # 'http': 不指定http表示默认支持http路由功能
    'websocket': URLRouter(wslog.routing.websocket_urlpatterns),
})